package edu.task.service;

import edu.task.model.SysRole;
import edu.task.model.vo.SysRoleVO;

import java.util.Collection;
import java.util.List;
import java.util.Set;

public interface SysRoleService {
    List<SysRole> selectRoleAll();

    List<Long> selectRoleListByUserId(Long userId);

    boolean insertUser(SysRoleVO role);

    int deleteRoleByIds(Long[] roleIds);

    List<SysRole> selectRoleList();

    boolean updateRole(SysRoleVO role);

    SysRole selectRoleById(Long roleId);

    Set<String> selectRolePermissionByUserId(Long userId);
}
